using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using System.Runtime.Serialization;
namespace Microsoft.Phone.Controls.Maps.ConfigService
{
	[GeneratedCode("System.Runtime.Serialization", "4.0.0.0"), DebuggerStepThrough, DataContract(Name = "Circle", Namespace = "http://dev.virtualearth.net/webservices/v1/common")]
	internal class Circle : ShapeBase
	{
		private Location CenterField;
		private DistanceUnit DistanceUnitField;
		private double RadiusField;
		[DataMember]
		internal Location Center
		{
			get
			{
				return this.CenterField;
			}
			set
			{
				if (!object.ReferenceEquals(this.CenterField, value))
				{
					this.CenterField = value;
					base.RaisePropertyChanged("Center");
				}
			}
		}
		[DataMember]
		internal DistanceUnit DistanceUnit
		{
			get
			{
				return this.DistanceUnitField;
			}
			set
			{
				if (!this.DistanceUnitField.Equals(value))
				{
					this.DistanceUnitField = value;
					base.RaisePropertyChanged("DistanceUnit");
				}
			}
		}
		[DataMember]
		internal double Radius
		{
			get
			{
				return this.RadiusField;
			}
			set
			{
				if (!this.RadiusField.Equals(value))
				{
					this.RadiusField = value;
					base.RaisePropertyChanged("Radius");
				}
			}
		}
	}
}
